Interface symantec.itools.db.beans.brl.Calculation
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface symantec.itools.db.beans.brl.Calculation

public interface Calculation
extends ComputedColumn
Interface for derived virtual columns

Version:
1.00 06/18/98
Author:
Puru Balakrishnan

Method Index

 o getComputedValue(DerivationRow, int)

return the computed value from the passed in input Row.

 o isUsedForAggregate()
Method to determine if this can be used for aggregate calculations

Methods

 o getComputedValue
public abstract java.lang.Object getComputedValue(DerivationRow inputRow,
                                                  int outputDataType)

return the computed value from the passed in input Row. The first parameter ,ComputeRow, is a grouping of columns which are to be used for calculating the new derived value. These columns could represent constant as well as real database columns.

Parameters:
inputRow - row of input columns
outputDataType - datatype for desired output as in java.sql.Types
Returns:
Object representing the new computed value
See Also:
ComputeRow, CompColMember
 o isUsedForAggregate
public abstract boolean isUsedForAggregate()
Method to determine if this can be used for aggregate calculations

Returns:
true or false

All Packages  Class Hierarchy  This Package  Previous  Next  Index